Run-time error

Hello,

i get run time error für this code

//filter on deleted objects
 showDeletedObjects(true)
 Object o
 Module m = current
 Skip objList = createString
 int absNum = 0 
 filtering off
 for o in m do { 
 if(isDeleted(o)){
 accept o
      print "ID: "o."Absolute Number" " object deleted " "\n" 
      absNum = o."Absolute Number"
        put(objList, absNum, o)
    } 
        
   else 
 reject o
 }
 filtering on

 

 

 

i get only the first 2 deleted object und then i get this error !

have anyone idea ?

 

Best regards,

Neven


Control17 - Fri Aug 04 01:51:15 EDT 2017

Re: Run-time error
Mathias Mamsch - Mon Aug 14 11:14:38 EDT 2017

Post the error message. You are using a string skip list: 

Skip objList = createString // wrong! use create() here instead of createString()

but you are putting absolute numbers (int) inside. Apart from that your code looks ok. 

Regards, Mathias